<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/taglib.jsp"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <jsp:include page="/platform/include/page_list_head.jsp"></jsp:include>
  <link href="${platform}/css/admin-index.css" rel="stylesheet" >
    <style>
        header{
        ${_isTest?'background-color:#73A33D':''}
        }
    </style>
</head>
<body>
  <header>
    <h1 class="logo"><img src="images/logo.png" title="51家庭管家管理平台" /></h1>
    <div class="navbar-wrapper">
       <!-- 顶部导航 -->
       <div class="navbar-wrapper-top clearfix">
          <ul id="topMenu" class="nav navbar-nav header-navbar-page clearfix">
          </ul>
          <ul class="nav navbar-nav header-navbar-user pull-right">
             <li>
                <a href="#" class="header-navbar-icon" data-toggle="dropdown">
                   <i class="icon-bell-alt"></i>
                   <span class="label label-badge" id="sum_waring"></span>
                </a>
				<ul class="dropdown-menu dropdown-menu-user cm-pd0" role="menu">
                   <li style="width:150px">
                      <a href="#" title="XXX">XXX <span class="label label-badge">0</span></a>
                   </li>
                </ul>
             </li>
             <li class="cm-f14">
                <a href="#" class="cm-pdr25 clearfix" data-toggle="dropdown">
                   <i class="icon-user pull-left"></i><span class="pull-left cm-ml5">${sessionScope._user.account }</span><i class="pull-left icon-chevron-down icon-down"></i>
                </a>
                <ul class="dropdown-menu dropdown-menu-user cm-pd0" role="menu">
                   <!-- li>
                      <a href="#">个人资料</a>
                   </li -->
                   <li>
                      <a href="${platform}/profile/changepass" id="change_pwd" target="_box" title="修改密码">修改密码</a>
                   </li>
                   <li>
                      <a href="${platform}/logout">退&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;出</a>
                   </li>
                </ul>
             </li>
          </ul>
       </div>
       <!-- 登录信息 -->
       <div class="navbar-wrapper-bottom cm-f14">
          <span style="margin-left:15px;">用户ID：${user.account }</span>
          <span style="margin-left:40px;">上次登录时间：${user.lastlogin }</span>
          <span style="margin-left:64px;">登录IP：${user.lastip}</span>
          <span style="margin-left:52px;">历史登录次数：${user.logintimes }</span>
       </div>
    </div>
  </header>
  <div class="container-fluid clearfix">
    <!-- 左侧菜单 -->
    <div class="sidebar-menu sidebar-menu-index" id="navTree">
       <div class="userInfo-index">
          <h2>个人工作汇总</h2>
          <p class="userInfo-pic-index"><img src="images/demo/userpic.jpg" class="img-responsive" /></p>
          <ul class="userInfo-desc-index cm-f14">
             <li>工号：${user.code }</li>
             <li>姓名：${user.cname }</li>
             <li>角色：
              <c:forEach var="arr" items="${commArray.enumStaffType}">
              	<c:if test="${arr.code==user.usertype}">${arr.value}</c:if>
              </c:forEach>             
             </li>
          </ul>
       </div>
       <div class="summary-index cm-f14">
          <table class="cm-w100p">
             <tbody>

             </tbody>
          </table>
       </div>
       <p class="divider"></p>
    </div>
    <!-- 主内容 -->
    <div>

    </div>
  </div>

  <jsp:include page="/platform/include/page_list_footer.jsp"></jsp:include>
</body>
</html>
